<?php
session_start();
include("util/out_fxn.php");

$title="Register";
do_html_header($title);
$dataDisplay='<table>
	<table>
	<tr>
		<td align="left" norap>Email address:</td>
		<td><input type="text" name="email" size="40"/></td>
	</tr>
	<tr>
		<td align="left" norap>Preffered user name(max 16 chars):</td>
		<td><input type="text" name="username"/></td>
	</tr>
	<tr>
		<td align="left" norap>Password(between 6 and 16 chars):</td>
		<td><input type="password" name="password"/></td>
	</tr>
	<tr>
		<td align="left" norap>Confirm password:</td>
		<td><input type="password" name="password2"/></td>
	</tr>
	<tr>
		<td align="left"><input type="submit" value="Register"/></td>
		<td><a href="Login.php">Already registered?</a></td>
	</tr>
	</table>';
$action="DoRegister.php";
$headerTitle="Please enter your following details:";
do_pre_login_form($headerTitle,$dataDisplay,$action);
do_html_footer();
?>
